<div class="hp-tab-newprd">
    <ul class="j-sw-nav">
        <li class="newprd-s1 tab-li"><a href="<?php echo base_path();?>manage_plant/list">查看</a></li>
        <li class="newprd-s2 tab-li <?php if(arg(1) == 'add' && empty(arg(3))){?>on<?php }?>"><a href="<?php echo base_path();?>manage_plant/add">添加</a></li>
        <?php if(arg(1) == 'edit' && !empty(arg(2))){?>
            <li class="newprd-s3 tab-li on"><a href="javascript:void(0)">修改</a></li>
        <?php }?>
    </ul>
    <div class="table-div" >
        <div class="small-select small-input column" style="clear:both">
            <div class="small-div"><div class="form-label"><span class="required">*</span>作物名称:</div><?php print render($form['plant_name']); ?></div>
        </div>
        <div class="small-select small-input column" style="clear:both">
            <div class="form-label"><span class="required">*</span>作物类别:</div><?php print render($form['plant_category']); ?>
        </div>
        <div class="add-submit" style="text-align: center"><?php print render($form['submit']); ?></div>
    </div>
</div>
</div>

<?php print drupal_render_children($form); ?>